FROM ubuntu:20.04

# 更改软件源为阿里云的源
RUN sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list
RUN sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list
# 更新软件源列表并下载开发工具
RUN apt-get update && apt list --upgradable\
    && apt-get install -y global build-essential qemu-system-x86 libncurses5-dev bison flex libssl-dev libelf-dev git wget bc cpio python gdb
